package me.pplay.playtalk.protocol;
public final class ProtocolType {
	public static final int 	TP_TIMOUT=600;//30秒   30×1000/50--50为协议线程sleep的时间
	public static final int 	TP_ERRCODE_OK = 0;/**< . */
	public static final int 	TP_ERRCODE_IGNOR=1;/**< . */
	public static final int 	TP_ERRCODE_WAITING=2;/**< . */
	public static final int 	TP_ERRCODE_ERR_TIMEOUT=-1010;
	public static final int 	TP_ERRCODE_ERR_SERVER=-1009;
	public static final int 	TP_ERRCODE_ERR_HOSTNAME=1008;
	public static final int 	TP_ERRCODE_ERR_TPVERSION=-1007;
	public static final int 	TP_ERRCODE_ERR_SOCKETCREATE=-1006;
	public static final int 	TP_ERRCODE_ERR_SOCKETCLOSE=-1005;
	public static final int 	TP_ERRCODE_ERR_SOCKETDATAERR=-1004;
	public static final int 	TP_ERRCODE_ERR_SOCKET=-1003;
	public static final int 	TP_ERRCODE_ERR_SOCKETRECV=-1002;
	public static final int 	TP_ERRCODE_ERR_SOCKETSEND=-1001;
	public static final int 	TP_ERRCODE_ERR_SOCKETCONNECT=-1000;
	
	public static final int 	TP_ERRCODE_ERR_UNKOWN=-999;/**< . */
	public static final class ServerId{
		public static final short	TP_SERVICE_AUTH=0x01;/**< . */
		public static final short	TP_SERVICE_CHAT=0x02;/**< . */
		public static final short	TP_SERVICE_CHATROOM=0x03;/**< . */
	}
	public static final class NotiType{
		public static final int	TP_SUBSERVICE_NOTIFICAITON  =(0X8000);
		public static final int	TP_NOTIFICATION_TEXT	 =	0x8001	;/*	*<JUST TEXT INFO . 文本	*/
		public static final int	TP_NOTIFICATION_CONFERENECT_PREMITED	 =	0x02	;/*	*< . 群主同意加人（暂时不做）		*/
		public static final int	TP_NOTIFICATION_CONFERENECT_DENIED	 =	0x03	;/*	*< . 群主拒绝加人	（暂时不做）	*/
		public static final int	TP_NOTIFICATION_CONFERENECT_KICKED	 =	0x04	;/*	*< . 群人踢人	（暂时不做）	*/
		public static final int	TP_NOTIFICATION_CONFERENECT_DISSOLVED	 =	0x05	;/*	*< . 解散群	（暂时不做）	*/
		public static final int	TP_NOTIFICATION_CONFERENECT_JOINED	 =	0x06	;/*	*< . 通知已经加入在TP_NOTIFICATION_TEXT命令中	*/
		public static final int	TP_NOTIFICATION_CONFERENECT_INFOCHANGED	 =	0x07	;/*	*< . 群信息改变通知给群成员（暂时不做）		*/
		public static final int	TP_NOTIFICATION_CONFERENECT_BUDDYREQ	 =	0x08	;/*	*< . 请求加入群发给群主的	（暂时不做）	*/
		public static final int	TP_NOTIFICATION_CONFERENECT_MSG=0x8016;
		public static final int	TP_NOTIFICATION_CHAT_MSG	=0x8009	;/*	*< . 点对点消息去接受人的	*/
		public static final int	TP_NOTIFICATION_CHAT_DOWNLOADRES=0x8015		;/*	*< . 通知客户端去是否去接受下资源	*/
		public static final int	TP_NOTIFICATION_CHAT_DOWNLOADMRP=0x8016		;/*	*< . 通知客户端去是否去接受下MRP文件	*/
		public static final int	TP_NOTIFICATION_CHAT_SMSSAMPLE	=0xffff	;/*	*< . 发短信（暂时不做）	*/
		public static final int	TP_NOTIFICATION_CHAT_BSTATUS	=0x800d;/*	*<friend's status.for example ;buddy's logon . 好友在线状态	*/
		public static final int	TP_NOTIFICATION_CHAT_BUDDYREQ=0X800e		;/*	*< . 加好友请求	*/
		public static final int	TP_NOTIFICATION_CHAT_PREMITED=0x800f		;/*	*< . */
		public static final int	TP_NOTIFICATION_CHAT_DENIED=0x8010			;/*	*< . */
		public static final int	TP_NOTIFICATION_CHAT_DENYUPLOADFILE=0x8011	 ;/*	*< .对方拒绝 */
		public static final int	TP_NOTIFICATION_CHAT_PERMITUPLOADFILE=0x8012		;/*	对方同意你上传文件*< . */
		public static final int	TP_NOTIFICATION_CHAT_NOTIFY_REGISTER=0xffff	;/*	*< . 通知注册	*/
		public static final int	TP_NOTIFICATION_CHAT_NOTIFY_UPLOAD_PHONE_BOOK=0xffff;/*	*< . 通知上传电话本	*/
		public static final int	TP_NOTIFICATION_CHAT_REQUPLOADFILE	=0xffff;
	}
	public static final class AuthType{
		public static final int		TP_SUBSERVICE_AUTH_GETSKYID	 = 0x01;/*	*< . */                         
		public static final int		TP_SUBSERVICE_AUTHRSP_GETSKYID	 = 0x02;/*	*< . */                     
		public static final int		TP_SUBSERVICE_AUTH_SIGNUP	 = 0x03;/*	*< . */                           
		//public static final int		TP_SUBSERVICE_AUTHRSP_SIGNUP	 = 0x04;/*	*< . */                     
		public static final int		TP_SUBSERVICE_AUTH_SIGNIN	 = 0x04;/*	*< . */                           
		public static final int		TP_SUBSERVICE_AUTH_CHANGEPWD= 0x05;                                     
		public static final int		TP_SUBSERVICE_AUTH_GETPWDPROTECTION=0x06;/*	*< //请求密保问题列表. */
		public static final int		TP_SUBSERVICE_AUTH_CHANGEPWDPROTECTION= 0x07;/*	*< .修改密保问题 */  
		public static final int		TP_SUBSERVICE_AUTH_GETPWDPROTECTIONTYPE= 0x08;/*	*< . */               
		public static final int		TP_SUBSERVICE_AUTH_GETPWD=0x09;/*	*< .通过密保找回密码*/           
		public static final int		TP_SUBSERVICE_AUTH_SETPWDPROTECTION=0x0a ;/*	*< .//密保验证,密保设置 */
		public static final int		TP_SUBSERVICE_AUTH_GETTIPTEMPLATE = 0x0d;/*	*< .//获取提示语模版 */
//	public static final int		TP_SUBSERVICE_AUTHRSP_SIGNIN	 = 0x06;/*	*< . */                     
		public static final int		TP_SUBSERVICE_AUTH_GETPWDPROTECTION_ME =0x0e;  /*	*< //请求获取个人密保问题. */                                      
		public static final int		TP_SUBSERVICE_AUTH_SETICONSTR	 = 0x0b;/*	*< . */ 
		

	}
	public static final class ChatType{
		public static final int	TP_SUBSERVICE_CHAT_AUTH	 = 0x7001;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_SENDIM	 = 0x2002;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_CHANGEPWD	 = 0x3003;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_ADDBUDDY	 = 0x2004;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_REMOVEBUDDY	 = 0x3005;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_MOVEBUDDY	 = 0x3006;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_ADDPERMIT	 = 0x2007;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_ADDDENY	 = 0x2008;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_SEARCH  = 0x2028;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_GETGROUP	 = 0x3009;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_GETFRIENDS	 = 0x300a;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_GETINFO	 = 0x300b;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_SETINFO	 = 0x300c;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_PRIVATE_GET	 = 0x3027;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_PRIVATE_SET	 = 0x3028;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_REQUPLOADFILE	 = 0x200d;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_ADDPERMIT_UPLOADFILE	 = 0x200e;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_ADDDENY_UPLOADFILE	 = 0x200f;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_KEEPALIVE	 = 0x1010;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_CREATE	 = 0x3011;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_DISSOLVE	 = 0x3012;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_GETGROUP	 = 0x3013;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_SEARCHGROUP	 = 0x3014;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_GETBUDDIES	 = 0x3015;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_ADDBUDDY	 = 0x2016;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_REMOVEBUDDY	 = 0x2017;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_ADDPERMIT	 = 0x2018;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_ADDDENY	 = 0x2019;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_SENDIM	 = 0x201a;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_GETINFO	 = 0x301b;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_SETINFO	 = 0x301c;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_REQ	 = 0x201d;/*	*< . */
		public static final int	TP_SUBSERVICE_CONFERENCE_QUIT	 = 0x201e;/*	*< . */
		public static final int	TP_SUBSERVICE_SNS_GETURL	 = 0x401f;/*	*< . */
		public static final int	TP_SUBSERVICE_SNS_DELSTATUS	 = 0x4020;/*	*< . */
		public static final int	TP_SUBSERVICE_SNS_ADDSTATUS	 = 0x4021;/*	*< . */
		public static final int	TP_SUBSERVICE_SNS_DELRES	 = 0x4022;/*	*< . */
		public static final int	TP_SUBSERVICE_CHAT_CONNECTCHAT	=0x2023;/**调用TP_SUBSERVICE_CHAT_AUTH之后，在直接调用TP_SUBSERVICE_CHAT_CONNECTCHAT，表示第一次连接chat服务器*/
		public static final int	TP_SUBSERVICE_CHAT_SETSTATUS	=0x2024;  /**< 设置自身状态*/
		public static final int	TP_SUBSERVICE_CHAT_GETOFFLINEMSG= 0x6025; /**< 获取离线消息*/
		public static final int	TP_SUBSERVICE_CHAT_SERCHBUDDY=0x2025;
		public static final int	TP_SUBSERVICE_CHAT_SERCHSUGGESTIONS=0x202c;
		public static final int	TP_SUBSERVICE_CHAT_GETROOMGROUP=0x3026	 ;/*	*<获取聊天室列表 . */
		public static final int	TP_SUBSERVICE_CHAT_BINDMOBILENUM=0X302a; /**绑定电话本**/
		public static final int	TP_SUBSERVICE_CHAT_STORE_MTD_GET	 =  0x9001;/*	*< . 获取在售商品列表*/
		public static final int	TP_SUBSERVICE_CHAT_STORE_MTD_ME_GET	 = 0x9002;/*	*< . 获取已购买商品列表*/
		public static final int	TP_SUBSERVICE_CHAT_STORE_MTD_PURCHASE	 = 0x9003;/*	*< . 激活所购买的商品*/
		public static final int	TP_SUBSERVICE_CHAT_GETSEVERSTR	 = 0x302e;/*	*< . */ 
		//public static final int	TP_SUBSERVICE_CHAT_GETROOMFRIENDS	 = 0x300a;/*	*< . */
	}
	public static final class ChatRoomType{
		public static final int				TP_SUBSERVICE_CHATROOM_AUTH	 =0x01;/*	*< . */                                      
		public static final int				TP_SUBSERVICE_CHATROOM_GETFRIENDS	 = 0x08;/*	获取聊天室成员*/
		public static final int				TP_SUBSERVICE_CHATROOM_REQ	 = 0x03;/*	*< . */                                
		public static final int				TP_SUBSERVICE_CHATROOM_QUIT	 = 0x04;/*	*< . */                                
		public static final int				TP_SUBSERVICE_CHATROOM_SENDIM	 = 0x5;/*	*< . */                                
		public static final int				TP_SUBSERVICE_CHATROOM_KEEPALIVE	 = 0x06;/*	*< . */                          
		public static final int				TP_SUBSERVICE_CHATROOM_MSG=0x5;/*	服务器主动返回数据*< . */          

	}
    public static final class Key {
    	public static final String  TP_TAG_skyid                    =   "skyid"           ;/**		*/                                                  
    	public static final String  TP_TAG_et                       =   "et"              ;/**		*/                                                  
    	public static final String  TP_TAG_imsi                     =   "imsi"            ;/**		*/                                                  
    	public static final String  TP_TAG_imei                     =   "imei"            ;/**		*/                                                  
    	public static final String  TP_TAG_plat                     =   "plat"            ;/**	平台 2表示展讯，1 表示mtk	*/                          
    	public static final String  TP_TAG_w                        =   "w"               ;/**	屏幕宽	*/                                            
    	public static final String  TP_TAG_h                        =   "h"               ;/**	屏幕高	*/                                            
    	public static final String  TP_TAG_mem                      =   "mem"             ;/**	内存大小	*/                                          
    	public static final String  TP_TAG_appid                    =   "appid"           ;/**	appid	*/                                              
    	public static final String  TP_TAG_appver                   =   "appver"          ;/**	appver	*/                                            
    	public static final String  TP_TAG_vmver                    =   "vmver"           ;/**	虚拟机版本	*/                                        
    	public static final String  TP_TAG_hsman                    =   "hsman"           ;/**	厂商	*/                                              
    	public static final String  TP_TAG_hstype                   =   "hstype"          ;/**	机型	*/                                              
    	public static final String  TP_TAG_hsver                    =   "hsver"            ;/**		               */                                     
    	public static final String  TP_TAG_chstr                    =   "chstr"           ;/**	服务器返回的挑战字符串	*/                            
    	public static final String  TP_TAG_rspstr1                  =   "rspstr1"         ;/**	客户端返回的加密字符串1 （base64[md5(chstr+imsi)]）	*/
    	public static final String  TP_TAG_rspstr2                  =   "rspstr2"         ;/**	客户端返回的加密字符串2 （base64[imsi]）	*/          
    	public static final String  TP_TAG_err                      =   "err"             ;/**	服务器返回的err code	*/                              
    	public static final String  TP_TAG_errstr                   =   "errstr"          ;/**	服务器返回的提示字符串	*/                            
    	public static final String  TP_TAG_user                     =   "user"            ;/**	用户名	*/                                            
    	public static final String  TP_TAG_pwd                      =   "pwd"             ;/**	密码	*/          
    	public static final String  TP_TAG_newpwd                   =   "npwd"             ;/**	密码	*/     
    	public static final String  TP_TAG_pnum                     =   "pnum"            ;/**	手机号码	*/                                          
    	public static final String  TP_TAG_token                    =   "token"           ;/**	token	*/                                              
    	public static final String  TP_TAG_serid                    =   "serid"           ;/**	serverid:聊天服务器，认证服务，聊天室	*/              
    	public static final String  TP_TAG_ip                       =   "ip"              ;/**	服务器的ip	*/                                        
    	public static final String  TP_TAG_port                     =   "port"            ;/**	服务器的port	*/                                      
    	public static final String  TP_TAG_aiconid                  =   "aiconid"         ;/**	客户端返回的验证图片的数字	*/                        
    	public static final String  TP_TAG_aiconw                   =   "aw"               ;/**	验证图片宽	*/                                            
    	public static final String  TP_TAG_aiconh                   =   "ah"               ;/**	验证图片高	*/                     
    	public static final String  TP_TAG_aicontype                =   "atype"               ;/**	验证图片类型*/                                            
    	public static final String  TP_TAG_aicon                    =   "aicon"           ;/**	服务器返回的验证图片数据(base64[icondata])	*/        
    	public static final String  TP_TAG_who                      =   "who"             ;/**	发消息给谁	*/                                        
    	public static final String  TP_TAG_msg                      =   "msg"             ;/**	发消息的内容	*/                                      
    	public static final String  TP_TAG_mflag                    =   "mflag"           ;/**	内容的格式，标志位，目前都为0	*/                      
    	public static final String  TP_TAG_gtype                    =   "gtype"           ;/**	群内容的类型，如群告知客户端有人走了，或者加入，或者普通群消息*/                      
    	public static final String  TP_TAG_gtotal                   =   "gtotal"          ;/**	组的好友的总数	*/                                    
    	public static final String  TP_TAG_gnum                     =   "gnum"            ;/**	组的当前收到的好友个数	*/                            
    	public static final String  TP_TAG_group                    =   "group"           ;/**	组名	*/                                              
    	public static final String  TP_TAG_gid                      =   "gid"             ;/**	组id	*/                                              
    	public static final String  TP_TAG_gattr                    =   "gattr"           ;/**	组的属性(比如黑名单属性值和好友属性值是不一样的)	*/  
    	public static final String  TP_TAG_gdes                     =   "gdes"            ;/**	组的介绍	*/                                          
    	public static final String  TP_TAG_info                     =   "info"            ;/**	好友信息	*/                                          
    	public static final String  TP_TAG_icon                     =   "icon"            ;/**	好友icon的url	*/                                      
    	public static final String  TP_TAG_alias                    =   "alias"           ;/**	好友的别名	*/                                        
    	public static final String  TP_TAG_salias                   =   "salias"          ;/**	好友的备注名称	*/                                    
    	public static final String  TP_TAG_sex                      =   "sex"             ;/**	性别	*/                                              
    	public static final String  TP_TAG_birth                    =   "birth"           ;/**	生日	*/                                              
    	public static final String  TP_TAG_email                    =   "email"           ;/**	email	*/                                              
    	public static final String  TP_TAG_idnum                    =   "idnum"           ;/**	身份证	*/                                            
    	public static final String  TP_TAG_mcc                      =   "mcc"             ;/**	国家	*/                                              
    	public static final String  TP_TAG_provi                    =   "provi"           ;/**	洲	*/                                                
    	public static final String  TP_TAG_city                     =   "city"            ;/**	城市	*/                                              
    	public static final String  TP_TAG_sign                     =   "sign"            ;/**	签名	*/                                              
    	public static final String  TP_TAG_url                      =   "url"             ;/**	sns的url	*/                                          
    	public static final String  TP_TAG_uri                      =   "uri"             ;/**	sns的uri	*/                                          
    	public static final String  TP_TAG_squid                    =   "squid"           ;/**	sns的序列号	*/   
    	public static final String  TP_TAG_snscmd                   =   "snscmd"          ;/**	sns的动作*/            
    	public static final String  TP_TAG_snstype                  =   "snstype"          ;/**	sns的类型*/            
    	public static final String  TP_TAG_commentsid               =   "comid"          ;/**	sns的评论id*/      
    	public static final String  TP_TAG_status                   =   "status"          ;/**	sns的feed的status的id	*/                              
    	public static final String  TP_TAG_resid                    =   "resid"           ;/**	sns的资源id，如音乐，图片，或者路径等	*/                      
    	public static final String  TP_TAG_bstatus                  =   "bstatus"         ;/**	好友的状态，如上线，离线，离开	*/                    
    	public static final String  TP_TAG_ftoken                   =   "ftoken"          ;/**	文件的上传下载的token	*/                              
    	public static final String  TP_TAG_floder                   =   "floder"          ;/**	文件存储的目录	*/                                    
    	public static final String  TP_TAG_restype                  =   "restype"         ;/**	文件的资源类型	*/                                    
    	public static final String  TP_TAG_fname                    =   "fname"           ;/**	文件保存的名字	*/          
    	public static final String  TP_TAG_fnamelen                 =   "flen"           ;/**	文件保存的长度*/        
    	public static final String  TP_TAG_qid                      =   "qid"             ;/**		*/                                                  
    	public static final String  TP_TAG_qstr                     =   "qstr"            ;/**问题		*/                                                  
    	public static final String  TP_TAG_aid                      =   "aid"             ;/**		*/                                                  
    	public static final String  TP_TAG_astr                     =   "astr"            ;/**答案		*/                                                  
    	public static final String  TP_TAG_lan                      =   "lan"             ;/**	语言id	*/                                            
    	public static final String  TP_TAG_lanstr                   =   "lanstr"            ;/**		*/                                                  
    	public static final String  TP_TAG_defaultlan               =   "dlan"         ;/**		*/                                                  
    	public static final String  TP_TAG_defaultstr               =   "dlanstr"         ;/**		*/                                                  
    	public static final String  TP_TAG_r                        =   "r"	;/**	结果code	*/   
    	public static final String  TP_TAG_newastr                  =   "nastr"            ;/**新的答案		*/       
    	public static final String  TP_TAG_newqstr                  =   "nqstr"            ;/**新的问题		*/    
    	public static final String  TP_TAG_qusiontype               =   "type"            ;/***/    
    	public static final String  TP_TAG_protectiontype           =   "ptype"            ;/**密保类型(phone/mailbox/Password security)*/    
    	public static final String  TP_TAG_protectiontypestring     =   "pstr"            ;/**密保字符串(phone/mailbox/Password security)*/    
    	public static final String  TP_TAG_ltime			              =   "ltime"	    ;//上次退出时间
    	public static final String	TP_TAG_msg_creattime    		=	"ct" ;//消息接收时间
    	public static final String	TP_TAG_key						=	"key";//搜索好友条件
    	public static final String	TP_TAG_LCTN          			=	"lctn" ;//本地位置
    	
    	public static final String  TP_TAG_PRT_DETAIL_DIS						 =	"disinfo";//是否显示自己的详细信息
    	public static final String  TP_TAG_PRT_SEARCHED							 =	"srched";//是否能够被搜索到
    	public static final String  TP_TAG_PRT_STNG_MSG							 =	"strgmsg";//是否接收陌生人消息
    	public static final String  TP_TAG_PRT_AUTO_ACTIVE 					 =	"autoact";//是否自动激活所购买的商品
    	public static final String  TP_TAG_PRT_WPAPER_ID 						 =	"bg";//默认的墙纸id
    	public static final String  TP_TAG_PRT_WPAPER_SRVR 					 =	"sid";//自定义墙纸所在文件服务器id
    	public static final String  TP_TAG_PRT_WPAPER_PATH	 				 =	"fpath";//自定义墙纸所在文件服务器的路径
    	//MTD == merchantdise                                       =
    	public static final String  TP_TAG_STORE_MTD_INDEX					 =	"sindex";//从哪个商品列表开始取
    	public static final String  TP_TAG_STORE_MTD_PAGESIZE				 =	"rltsize";//每次请求商品列表的个数
    	public static final String  TP_TAG_STORE_MTD_NAME						 =	"name";//商品名称
    	public static final String  TP_TAG_STORE_MTD_DESC						 =	"desc";//商品描述
    	public static final String  TP_TAG_STORE_MTD_PRICE					 =	"price";//商品价格
    	public static final String  TP_TAG_STORE_MTD_CRNCY					 =	"symbol";//货币种类
    	public static final String  TP_TAG_STORE_MTD_TIME				 		 =	"ctime";//商品发布的时间，相对于1970年1月1日的秒数
    	public static final String  TP_TAG_STORE_MTD_TYPE 					 =	"type";//类型
    	public static final String  TP_TAG_STORE_MTD_ID 						 =	"id";//merchantdise id
    	public static final String  TP_TAG_STORE_MTD_COUNT			 		 =	"scount";//卖出的数量
    	public static final String  TP_TAG_STORE_MTD_SRVR_ID				 =	"sid";//所在服务器id
    	public static final String  TP_TAG_STORE_MTD_SRVR_PATH_T		 = 	"ipath";//图片或者文件所在文件服务器的路径
    	public static final String  TP_TAG_STORE_MTD_SRVR_PATH_D	  =		"fpath";//图片或者文件的缩略图所在文件服务器的路径
    	public static final String  TP_TAG_STORE_MTD_BUY						 =	"buyflg";//当前用户是否已经购买过该商品
		public static final String 	TP_TAG_SNS_item     =  	"item"    ;//表示条目，在获取照片墙列表数据的时候，每个item表示一个缩略图数据，数据包有多个item组成
		public static final String 	TP_TAG_SNS_next     =  	"next"    ;//表示下一页数据的地址，或者为下一个窗口的地址
		public static final String 	TP_TAG_SNS_pre      =  	"pre"    ;//表示上一页数据的地址，或者前一个窗口的地址																																																																																																																																
		public static final String 	TP_TAG_SNS_link     =  	"link"    ;//在控件中表示下一个界面的url																																																																																																																																
		public static final String 	TP_TAG_SNS_attri    =   "attri"    ;//表示当前控件或者数据的属性，如一个list有多少个item																																																																																																																																
		public static final String 	TP_TAG_SNS_id       =   "id"    ;//表示控件的id，由服务器生成																																																																																																																																
		public static final String 	TP_TAG_SNS_ctrl     =   "ctrl"    ;//表示控件																																																																																																																																
		public static final String 	TP_TAG_SNS_url      =   "url"    ;//表示下一个界面的地址或者控件的数据地址																																																																																																																																
		public static final String 	TP_TAG_SNS_list     =   "list"    ;//表示css中列表控件																																																																																																																																
		public static final String 	TP_TAG_SNS_pic      =   "pic"    ;//表示css中图片控件																																																																																																																																
		public static final String 	TP_TAG_SNS_btn      =   "btn"    ;//表示css中按钮控件																																																																																																																																
		public static final String 	TP_TAG_SNS_edit     =   "edit"    ;//表示css中输入框控件																																																																																																																																
		public static final String 	TP_TAG_SNS_text     =   "text"    ;//表示css中文本控件																																																																																																																																
		public static final String 	TP_TAG_SNS_p        =   "p"    ;//表示参数，p本身没有意义，只是用来做一个通用的key，它所表达的字段的意思需要和服务端协商好																																																																																																																																
		public static final String 	TP_TAG_SNS_type     =   "type"    ;//表示当前请求的窗口的类型																																																																																																																																
		public static final String 	TP_TAG_SNS_subtype  =   "subtype"    ;//表示所请求窗口中的控件																																																																																																																																
		public static final String 	TP_TAG_SNS_tab      =   "tab"    ;//表示tab页的标签																																																																																																																																
		public static final String 	TP_TAG_SNS_css      =   "css"    ;//Cascading Style Sheet，风格样式表，即当前窗口所容纳的控件以及他们的位置																																																																																																																																
		public static final String 	TP_TAG_SNS_total		 =  "total";//当前控件数据的总条目数																																																																																																																																
		public static final String 	TP_TAG_SNS_count		 =  "count";//当前包中包含的数据条目数
		public static final String 	TP_TAG_SNS_page		  =   "page";//当前数据在整个数据中的页码                                                                                                                                                                                                                   

    }
    public static final class TLV{
    	public static final int	TP_TLV_CMD_FILE_TOKEN	=0X7001	;	//在上传一个文件前，先向服务器发送请求，以获取断点等信息
    	public static final int	TP_TLV_CMD_FILE_TOKEN_RESP	=0X7002	;	//文件上传请求返回，包含断点，文件在服务器上的路径等信息
    	public static final int	TP_TLV_CMD_FILE_UPLOAD_REQ	=0X7007	;	//在上传一个文件前，先向服务器发送请求，以获取断点等信息
    	public static final int	TP_TLV_CMD_FILE_UPLOAD_REQ_RESP	=0X7008	;	//文件上传请求返回，包含断点，文件在服务器上的路径等信息
    	public static final int	TP_TLV_CMD_FILE_UPLOAD	=0X7009	;	//文件内容上传
    	public static final int	TP_TLV_CMD_FILE_UPLOAD_RESP	=0X7010	;	//文件内容上传返回结果
    	public static final int	TP_TLV_CMD_FILE_DOWNLOAD	=0X7013	;	//文件内容下载
    	public static final int	TP_TLV_CMD_FILE_DOWNLOAD_RESP	=0X7014	;	//文件内容下载返回结果
    	public static final int	TLV_CODE_TOKEN	=0X1002	;	
    	public static final int	TLV_CODE_SKYID	=0X1003	;	
    	public static final int	TLV_CODE_USERCODE	=0X1004	;	
    	public static final int	TLV_CODE_NICKNAME	=0X1005	;	
    	public static final int	TLV_CODE_MCC	=0X1008	;	
    	public static final int	TLV_CODE_TYPE	=0X1009	;	
    	public static final int	TLV_CODE_APPID	=0X100A	;	
    	public static final int	TLV_CODE_IMSI	=0X100B	;	
    	public static final int	TLV_CODE_IMEI	=0X100C	;	
    	public static final int	TLV_CODE_HSMAN	=0X100D	;	
    	public static final int	TLV_CODE_HSTYPE	=0X100E	;	
    	public static final int	TLV_CODE_SCRWIDTH	=0X100F	;	
    	public static final int	TLV_CODE_SCRHEIGHT	=0X1010	;	
    	public static final int	TLV_CODE_SMSCENTER	=0X1011	;	
    	public static final int	TLV_CODE_MEMSIZE	=0X1012	;	
    	public static final int	TLV_CODE_HEARTRATE	=0X1013	;	
    	public static final int	TLV_CODE_TEXT	=0X1014	;	
    	public static final int	TLV_CODE_RESULT	=0X1015	;	
    	public static final int	TLV_CODE_FILENAME	=0X1016	;	
    	public static final int	TLV_CODE_FILESIZE	=0X1017	;	
    	public static final int	TLV_CODE_DISTSKYID	=0X1018	;	
    	public static final int	TLV_CODE_OFFSET	=0X101C	;	
    	public static final int	TLV_CODE_CONTENT	=0X101D	;	
    	public static final int	TLV_CODE_GROUPID	=0X101E	;	
    	public static final int	TLV_CODE_CREATETIME	=0X1024	;	
    	public static final int	TLV_CODE_COUNT	=0X1026	;	
    	public static final int	TLV_CODE_DOWNLOAD_TYPE	=0X1047	;	
    	public static final int	TLV_CODE_AVATAR	=0X1048	;	
    	public static final int	TLV_CODE_SESSIONID	=0X1051	;	/*S*/
    	public static final int	TLV_CODE_SIZE_READ	=0X104E	;	/*1*/
    	public static final int	TLV_CODE_SIZE	=0X1059	;	/*1*/
    	public static final int	TLV_CODE_FILEICON	=0X1060	;	/*S*/
    	public static final int	TLV_CODE_FILEPATH	=0X1061	;	/*S*/
    	public static final int	TLV_CODE_DOWNLOAD	=0X1062	;	/*4*/
    	public static final int	TLV_CODE_LIKE	=0X1063	;	/*4*/
    	public static final int	TLV_CODE_VIEW	=0X1064	;	/*4*/
    	public static final int	TLV_CODE_COMMENT	=0X1065	;	/*4*/
    	public static final int	TLV_CODE_FILE_REMARK	=0X1066	;	/*4*/
    	public static final int	TLV_CODE_SERVERID	=0X1035	;	

    }
}
